package org.yuanqiframework.yuanqi.boot.sys.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName sys_dept
 */
@TableName(value ="sys_dept")
@Data
public class SysDept implements Serializable {
    /**
     * 
     */
    @TableId(value = "id")
    private String id;

    /**
     * 部门名称
     */
    @TableField(value = "dept_name")
    private String deptName;

    /**
     * 父部门ID
     */
    @TableField(value = "parent_id")
    private String parentId;

    /**
     * 排序号
     */
    @TableField(value = "sort_num")
    private Integer sortNum;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}